package annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author zhangboyu
 */
@Retention(RetentionPolicy.RUNTIME)
/**
 * Only RUNTIME level RetensionPolicy can enable that the field of the annotation to
 * be able to read by other classes/
 * And that's the reason that why all Spring annotations are of the RUNTIME level RetensionPolicy
 */
public @interface MyAnnotation {
    String value() default "Default value";

    int id() default 0;
    

}
